package com.tcm.order.dao.mapper;


import com.tcm.order.entity.OrderItem;

import java.util.List;

public interface OrderItemMapper {
    int deleteById(Long id);

    int deleteLogicById(Long id);

    int insert(OrderItem record);

    int insertBatch(List<OrderItem> orderItems);

    OrderItem findById(Long id);

    List<OrderItem> listByOrderId(Long orderId);

    int update(OrderItem record);

}